package com.tentime.saas.tenant.system.repository;

import org.springframework.data.jpa.repository.JpaRepository;

import com.tentime.saas.tenant.system.model.Upload;

public interface UploadRepository extends JpaRepository<Upload, Long> {

    /**
     * 查找指定文件sha1记录
     * @param sha1 文件sha1值
     * @return 文件信息
     */
    public Upload findBySha1(String sha1);
}

